<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Cheetah Software: ControlParameterInterface.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Cheetah Software
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d6/de9/_control_parameter_interface_8h_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ControlParameterInterface.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d6/de9/_control_parameter_interface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef PROJECT_CONTROLPARAMETERINTERFACE_H</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define PROJECT_CONTROLPARAMETERINTERFACE_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="../../d2/d01/_control_parameters_8h.html">ControlParameters.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">   16</a></span>&#160;<span class="keyword">enum class</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">ControlParameterRequestKind</a> {</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508acb4d0852c8c2f31c2f9c307dc8892219">GET_ROBOT_PARAM_BY_NAME</a>,</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a592d3b9333f88bfabfaa2b00fb225ebb">SET_ROBOT_PARAM_BY_NAME</a>,</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a4ddd38038f4d5d761480ba25d4aee024">GET_USER_PARAM_BY_NAME</a>,</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a7cd01036768fe3a9f7f5cccc148f833e">SET_USER_PARAM_BY_NAME</a></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;};</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;std::string <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#aec18dbc0e1e7ea54b4204c75221178af">controlParameterRequestKindToString</a>(</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">ControlParameterRequestKind</a> request);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html">   26</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d6/d6d/struct_control_parameter_request.html">ControlParameterRequest</a> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#ad03bd9ffd8b4ed1dbcdd72a07fabc2d3">   27</a></span>&#160;  <span class="keywordtype">char</span> name[<a class="code" href="../../d2/d01/_control_parameters_8h.html#a969635c2da4bad6708cb7655bbe96dac">CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH</a>] =</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;      <span class="stringliteral">&quot;&quot;</span>;  <span class="comment">// name of the parameter to set/get</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#a7499c6aedd179056b9615b8c00fffb9f">   29</a></span>&#160;  <a class="code" href="../../d0/d99/c_types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> requestNumber = UINT64_MAX;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#afcc0b006e83760030cde3ab151aca929">   30</a></span>&#160;  <a class="code" href="../../df/df2/union_control_parameter_value.html">ControlParameterValue</a> <a class="code" href="../../d6/d6d/struct_control_parameter_request.html#afcc0b006e83760030cde3ab151aca929">value</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#ab47135adbd2c1249dfa24d264732a76f">   31</a></span>&#160;  <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3">ControlParameterValueKind</a> <a class="code" href="../../d6/d6d/struct_control_parameter_request.html#ab47135adbd2c1249dfa24d264732a76f">parameterKind</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#ad991ed9045c129311774dc9ac4c97de7">   32</a></span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">ControlParameterRequestKind</a> <a class="code" href="../../d6/d6d/struct_control_parameter_request.html#ad991ed9045c129311774dc9ac4c97de7">requestKind</a>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../d6/d6d/struct_control_parameter_request.html#a8652e8975cfc2b0ea04e573ea7eb15e4">   34</a></span>&#160;  std::string <a class="code" href="../../d6/d6d/struct_control_parameter_request.html#a8652e8975cfc2b0ea04e573ea7eb15e4">toString</a>() {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    std::string result = <span class="stringliteral">&quot;Request(&quot;</span> + std::to_string(requestNumber) + <span class="stringliteral">&quot;) &quot;</span> +</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                         <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#aec18dbc0e1e7ea54b4204c75221178af">controlParameterRequestKindToString</a>(requestKind) +</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                         <span class="stringliteral">&quot; &quot;</span> +</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                         <a class="code" href="../../d2/d01/_control_parameters_8h.html#a39a31ac35492a7e98110f7301430b5fe">controlParameterValueKindToString</a>(parameterKind) +</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;                         <span class="stringliteral">&quot; &quot;</span> + std::string(name) + <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordflow">switch</span> (requestKind) {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a4ddd38038f4d5d761480ba25d4aee024">ControlParameterRequestKind::GET_USER_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        result += <span class="stringliteral">&quot;user is: &quot;</span>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a7cd01036768fe3a9f7f5cccc148f833e">ControlParameterRequestKind::SET_USER_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        result += <span class="stringliteral">&quot;user to: &quot;</span>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508acb4d0852c8c2f31c2f9c307dc8892219">ControlParameterRequestKind::GET_ROBOT_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        result += <span class="stringliteral">&quot;robot is: &quot;</span>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a592d3b9333f88bfabfaa2b00fb225ebb">ControlParameterRequestKind::SET_ROBOT_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        result += <span class="stringliteral">&quot;robot to: &quot;</span>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordflow">return</span> result + <span class="stringliteral">&quot; unknown request type!&quot;</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    }</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;};</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html">   63</a></span>&#160;<span class="keyword">struct </span><a class="code" href="../../d4/d34/struct_control_parameter_response.html">ControlParameterResponse</a> {</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#ade6ee0a7cb7f80ca17ced8276ed3dac6">   64</a></span>&#160;  <span class="keywordtype">char</span> name[<a class="code" href="../../d2/d01/_control_parameters_8h.html#a969635c2da4bad6708cb7655bbe96dac">CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH</a>] = <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#ac73006eb720e25486d3937bdf2657c2c">   65</a></span>&#160;  <a class="code" href="../../d0/d99/c_types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> requestNumber = UINT64_MAX;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#aded69733cb3a4d17ac422c81cada1a32">   66</a></span>&#160;  <a class="code" href="../../d0/d99/c_types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> nParameters = 0;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#a93360b8f44d7afcb47cd5c2a2efa0740">   67</a></span>&#160;  <a class="code" href="../../df/df2/union_control_parameter_value.html">ControlParameterValue</a> <a class="code" href="../../d4/d34/struct_control_parameter_response.html#a93360b8f44d7afcb47cd5c2a2efa0740">value</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#a92b038f05343b0724848ed37b70c59cc">   68</a></span>&#160;  <a class="code" href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3">ControlParameterValueKind</a> <a class="code" href="../../d4/d34/struct_control_parameter_response.html#a92b038f05343b0724848ed37b70c59cc">parameterKind</a>;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#a906c0ffa498ea06e902662854020bd8d">   69</a></span>&#160;  <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">ControlParameterRequestKind</a> <a class="code" href="../../d4/d34/struct_control_parameter_response.html#a906c0ffa498ea06e902662854020bd8d">requestKind</a>;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#a86ce7660a778798f533c70f1b4a64e4c">   71</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="../../d4/d34/struct_control_parameter_response.html#a86ce7660a778798f533c70f1b4a64e4c">isResponseTo</a>(<a class="code" href="../../d6/d6d/struct_control_parameter_request.html">ControlParameterRequest</a>&amp; request) {</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">return</span> requestNumber == request.<a class="code" href="../../d6/d6d/struct_control_parameter_request.html#a7499c6aedd179056b9615b8c00fffb9f">requestNumber</a> &amp;&amp;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;           requestKind == request.<a class="code" href="../../d6/d6d/struct_control_parameter_request.html#ad991ed9045c129311774dc9ac4c97de7">requestKind</a> &amp;&amp;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;           std::string(name) == std::string(request.<a class="code" href="../../d6/d6d/struct_control_parameter_request.html#ad03bd9ffd8b4ed1dbcdd72a07fabc2d3">name</a>);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  }</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../d4/d34/struct_control_parameter_response.html#a62038efa1fc5e7447a7dc5cf4e6db97c">   77</a></span>&#160;  std::string <a class="code" href="../../d4/d34/struct_control_parameter_response.html#a62038efa1fc5e7447a7dc5cf4e6db97c">toString</a>() {</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    std::string result = <span class="stringliteral">&quot;Response(&quot;</span> + std::to_string(requestNumber) + <span class="stringliteral">&quot;) &quot;</span> +</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                         <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#aec18dbc0e1e7ea54b4204c75221178af">controlParameterRequestKindToString</a>(requestKind) +</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;                         <span class="stringliteral">&quot; &quot;</span> +</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                         <a class="code" href="../../d2/d01/_control_parameters_8h.html#a39a31ac35492a7e98110f7301430b5fe">controlParameterValueKindToString</a>(parameterKind) +</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                         <span class="stringliteral">&quot; &quot;</span> + std::string(name) + <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">switch</span> (requestKind) {</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a7cd01036768fe3a9f7f5cccc148f833e">ControlParameterRequestKind::SET_USER_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        result += <span class="stringliteral">&quot;user to: &quot;</span>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a4ddd38038f4d5d761480ba25d4aee024">ControlParameterRequestKind::GET_USER_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        result += <span class="stringliteral">&quot;user is: &quot;</span>;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a592d3b9333f88bfabfaa2b00fb225ebb">ControlParameterRequestKind::SET_ROBOT_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        result += <span class="stringliteral">&quot;robot to: &quot;</span>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;      <span class="keywordflow">case</span> <a class="code" href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508acb4d0852c8c2f31c2f9c307dc8892219">ControlParameterRequestKind::GET_ROBOT_PARAM_BY_NAME</a>:</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        result += <span class="stringliteral">&quot;robot is: &quot;</span>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        result += <a class="code" href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a>(value, parameterKind);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      <span class="keywordflow">default</span>:</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">return</span> result + <span class="stringliteral">&quot; unknown request type!&quot;</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;};</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#endif  // PROJECT_CONTROLPARAMETERINTERFACE_H</span></div><div class="ttc" id="struct_control_parameter_response_html_a906c0ffa498ea06e902662854020bd8d"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html#a906c0ffa498ea06e902662854020bd8d">ControlParameterResponse::requestKind</a></div><div class="ttdeci">ControlParameterRequestKind requestKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00069">ControlParameterInterface.h:69</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_ae6908d6ad8ae0bc7a200141e0c292508a592d3b9333f88bfabfaa2b00fb225ebb"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a592d3b9333f88bfabfaa2b00fb225ebb">ControlParameterRequestKind::SET_ROBOT_PARAM_BY_NAME</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_ab47135adbd2c1249dfa24d264732a76f"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#ab47135adbd2c1249dfa24d264732a76f">ControlParameterRequest::parameterKind</a></div><div class="ttdeci">ControlParameterValueKind parameterKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00031">ControlParameterInterface.h:31</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a09b572cf97f12b378290dee549d8ecc3"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a09b572cf97f12b378290dee549d8ecc3">ControlParameterValueKind</a></div><div class="ttdeci">ControlParameterValueKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00034">ControlParameters.h:34</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a39a31ac35492a7e98110f7301430b5fe"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a39a31ac35492a7e98110f7301430b5fe">controlParameterValueKindToString</a></div><div class="ttdeci">std::string controlParameterValueKindToString(ControlParameterValueKind valueKind)</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00016">ControlParameters.cpp:16</a></div></div>
<div class="ttc" id="struct_control_parameter_response_html_a62038efa1fc5e7447a7dc5cf4e6db97c"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html#a62038efa1fc5e7447a7dc5cf4e6db97c">ControlParameterResponse::toString</a></div><div class="ttdeci">std::string toString()</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00077">ControlParameterInterface.h:77</a></div></div>
<div class="ttc" id="struct_control_parameter_response_html_a93360b8f44d7afcb47cd5c2a2efa0740"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html#a93360b8f44d7afcb47cd5c2a2efa0740">ControlParameterResponse::value</a></div><div class="ttdeci">ControlParameterValue value</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00067">ControlParameterInterface.h:67</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_ae6908d6ad8ae0bc7a200141e0c292508a4ddd38038f4d5d761480ba25d4aee024"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a4ddd38038f4d5d761480ba25d4aee024">ControlParameterRequestKind::GET_USER_PARAM_BY_NAME</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_ad991ed9045c129311774dc9ac4c97de7"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#ad991ed9045c129311774dc9ac4c97de7">ControlParameterRequest::requestKind</a></div><div class="ttdeci">ControlParameterRequestKind requestKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00032">ControlParameterInterface.h:32</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_ae6908d6ad8ae0bc7a200141e0c292508a7cd01036768fe3a9f7f5cccc148f833e"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508a7cd01036768fe3a9f7f5cccc148f833e">ControlParameterRequestKind::SET_USER_PARAM_BY_NAME</a></div></div>
<div class="ttc" id="struct_control_parameter_response_html_a86ce7660a778798f533c70f1b4a64e4c"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html#a86ce7660a778798f533c70f1b4a64e4c">ControlParameterResponse::isResponseTo</a></div><div class="ttdeci">bool isResponseTo(ControlParameterRequest &amp;request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00071">ControlParameterInterface.h:71</a></div></div>
<div class="ttc" id="union_control_parameter_value_html"><div class="ttname"><a href="../../df/df2/union_control_parameter_value.html">ControlParameterValue</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00055">ControlParameters.h:55</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_ad03bd9ffd8b4ed1dbcdd72a07fabc2d3"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#ad03bd9ffd8b4ed1dbcdd72a07fabc2d3">ControlParameterRequest::name</a></div><div class="ttdeci">char name[CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00027">ControlParameterInterface.h:27</a></div></div>
<div class="ttc" id="struct_control_parameter_response_html_a92b038f05343b0724848ed37b70c59cc"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html#a92b038f05343b0724848ed37b70c59cc">ControlParameterResponse::parameterKind</a></div><div class="ttdeci">ControlParameterValueKind parameterKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00068">ControlParameterInterface.h:68</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a969635c2da4bad6708cb7655bbe96dac"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a969635c2da4bad6708cb7655bbe96dac">CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH</a></div><div class="ttdeci">#define CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d01/_control_parameters_8h_source.html#l00027">ControlParameters.h:27</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_aec18dbc0e1e7ea54b4204c75221178af"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#aec18dbc0e1e7ea54b4204c75221178af">controlParameterRequestKindToString</a></div><div class="ttdeci">std::string controlParameterRequestKindToString(ControlParameterRequestKind request)</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/dd2/_control_parameter_interface_8cpp_source.html#l00003">ControlParameterInterface.cpp:3</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_ae6908d6ad8ae0bc7a200141e0c292508"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508">ControlParameterRequestKind</a></div><div class="ttdeci">ControlParameterRequestKind</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00016">ControlParameterInterface.h:16</a></div></div>
<div class="ttc" id="_control_parameters_8h_html_a845e4adacbcbd157527c891bb3fa4b74"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html#a845e4adacbcbd157527c891bb3fa4b74">controlParameterValueToString</a></div><div class="ttdeci">std::string controlParameterValueToString(ControlParameterValue v, ControlParameterValueKind kind)</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d90/_control_parameters_8cpp_source.html#l00034">ControlParameters.cpp:34</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_a7499c6aedd179056b9615b8c00fffb9f"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#a7499c6aedd179056b9615b8c00fffb9f">ControlParameterRequest::requestNumber</a></div><div class="ttdeci">u64 requestNumber</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00029">ControlParameterInterface.h:29</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_afcc0b006e83760030cde3ab151aca929"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#afcc0b006e83760030cde3ab151aca929">ControlParameterRequest::value</a></div><div class="ttdeci">ControlParameterValue value</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00030">ControlParameterInterface.h:30</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html_a8652e8975cfc2b0ea04e573ea7eb15e4"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html#a8652e8975cfc2b0ea04e573ea7eb15e4">ControlParameterRequest::toString</a></div><div class="ttdeci">std::string toString()</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00034">ControlParameterInterface.h:34</a></div></div>
<div class="ttc" id="_control_parameter_interface_8h_html_ae6908d6ad8ae0bc7a200141e0c292508acb4d0852c8c2f31c2f9c307dc8892219"><div class="ttname"><a href="../../d6/de9/_control_parameter_interface_8h.html#ae6908d6ad8ae0bc7a200141e0c292508acb4d0852c8c2f31c2f9c307dc8892219">ControlParameterRequestKind::GET_ROBOT_PARAM_BY_NAME</a></div></div>
<div class="ttc" id="c_types_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="../../d0/d99/c_types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/d99/c_types_8h_source.html#l00017">cTypes.h:17</a></div></div>
<div class="ttc" id="_control_parameters_8h_html"><div class="ttname"><a href="../../d2/d01/_control_parameters_8h.html">ControlParameters.h</a></div><div class="ttdoc">Interface to set gains/control parameters for simulator and robot These are designed to be updated in...</div></div>
<div class="ttc" id="struct_control_parameter_response_html"><div class="ttname"><a href="../../d4/d34/struct_control_parameter_response.html">ControlParameterResponse</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00063">ControlParameterInterface.h:63</a></div></div>
<div class="ttc" id="struct_control_parameter_request_html"><div class="ttname"><a href="../../d6/d6d/struct_control_parameter_request.html">ControlParameterRequest</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/de9/_control_parameter_interface_8h_source.html#l00026">ControlParameterInterface.h:26</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="../../dir_61bfb0b3cdda81b1b0355ba34eb3b1eb.html">dhkim</a></li><li class="navelem"><a class="el" href="../../dir_adee5b101e079090017bb4e91c628ead.html">Public_Repository</a></li><li class="navelem"><a class="el" href="../../dir_7fc07a7b97001e7b1d18e11da761e2de.html">Cheetah-Software</a></li><li class="navelem"><a class="el" href="../../dir_860379c26524a894b3cf97b5b1ba5bdb.html">common</a></li><li class="navelem"><a class="el" href="../../dir_275ce76ae8a9e2090fbb7142d3994a0e.html">include</a></li><li class="navelem"><a class="el" href="../../dir_57c533dd6f4c82f27a57200a3e65fbf3.html">ControlParameters</a></li><li class="navelem"><a class="el" href="../../d6/de9/_control_parameter_interface_8h.html">ControlParameterInterface.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
